//
//  RoomMateTeamTableViewCell.h
//  Fangmm
//
//  Created by ChaoZhou on 16/3/7.
//  Copyright © 2016年 com.fangmm. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "Team.h"
@protocol RoomMateTeamTableViewCellDelegate <NSObject>
-(void)queryRoomMateWith:(UIButton*)sender;
-(void)payDepositWith:(UIButton*)sender;
-(void)inviteFriendWithTeamId:(NSString *)teamId;
@end
@interface RoomMateTeamTableViewCell : UITableViewCell
@property (nonatomic,assign)id <RoomMateTeamTableViewCellDelegate>delegate;
@property (nonatomic,copy)NSString *teamId;
@property (weak, nonatomic) IBOutlet UIImageView *houseImage;
@property (weak, nonatomic) IBOutlet UILabel *houseName;
@property (weak, nonatomic) IBOutlet UILabel *imageMask;
@property (weak, nonatomic) IBOutlet UILabel *createTimeLabel;
@property (weak, nonatomic) IBOutlet UILabel *roomALabel;
@property (weak, nonatomic) IBOutlet UILabel *roomBLabel;
@property (weak, nonatomic) IBOutlet UILabel *roomCLabel;
@property (weak, nonatomic) IBOutlet UILabel *roomAPriceLabel;
@property (weak, nonatomic) IBOutlet UILabel *roomBPriceLabel;
@property (weak, nonatomic) IBOutlet UILabel *roomCPriceLabel;
@property (weak, nonatomic) IBOutlet UILabel *inviteLabel;
@property (weak, nonatomic) IBOutlet UILabel *joinedNum;
@property (weak, nonatomic) IBOutlet UILabel *joinedLabel;
@property (weak, nonatomic) IBOutlet UIButton *roomMateButton;
@property (weak, nonatomic) IBOutlet UILabel *noteLabel;
- (IBAction)roomMateButtonClick:(id)sender;
- (IBAction)PayButtonClick:(id)sender;
@property (weak, nonatomic) IBOutlet UILabel *noteTitleLabel;
@property (weak, nonatomic) IBOutlet UIButton *inviteButton;
- (IBAction)inviteButtonClick:(id)sender;
@property (weak, nonatomic) IBOutlet UIImageView *noteImage;
@property (weak, nonatomic) IBOutlet UIButton *payButtonView;
@property (nonatomic,strong)Team *team;
@property (weak, nonatomic) IBOutlet UIImageView *shareLabel;
@property (weak, nonatomic) IBOutlet UILabel *shadowLabel;
@property (weak, nonatomic) IBOutlet UILabel *seperatorLabel;
-(void)rectRoomMateCellWithIndexpath:(NSIndexPath*)indexpath withTeam:(Team*)team;
@end
